//
// Created by Administrator on 2021/5/24.
// @file DBusServiceBase.h
// @author jmdvirus
// @date $YEAR-$MONTH-24 15:22:08
//

#ifndef JKLIBS_DBUSSERVICEBASE_H
#define JKLIBS_DBUSSERVICEBASE_H

#include <dbus-c++/dbus.h>

class DBusServiceBase
{
  public:
    DBusServiceBase();
    virtual ~DBusServiceBase();

    int Init(bool server = true);
    int Deinit();

    int Run();

  private:
    DBus::BusDispatcher dispatcher;
};

#endif // JKLIBS_DBUSSERVICEBASE_H
